package com.abc.fast.server.user.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author LiJunXi
 * @since 2024-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_perms")
public class Perms implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 权限名称
     */
    @TableField("name")
    private String name;

    /**
     * 后端路径
     */
    @TableField("path")
    private String path;

    /**
     * 权限英文
     */
    @TableField("perms")
    private String perms;

    /**
     * 权限分类ID
     */
    @TableField("perms_category_id")
    private Long permsCategoryId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 状态（0：正常，1：禁用）
     */
    @TableField("status")
    private Integer status;


}
